package permission

// Repository 权限仓库接口
type Repository interface {
	Create(permission *Permission) error
	Update(permission *Permission) error
	Delete(id string) error
	FindByID(id string) (*Permission, error)
	FindByName(name string) (*Permission, error)
	FindAll() ([]*Permission, error)
}